package com.billing.service;

import java.util.List;
import java.util.Map;

import com.billing.model.entity.TDept;

public interface DeptService {

	/**
	 * 获取部门信息
	 * @return
	 */
	public List<TDept> getTDeptlist();

	public int getDeptNum(int parseInt, String name, int s);

	public List<Map<String, Object>> getDeptById(int parseInt, String name, int s, int pageSize, int i);

	public int insert(TDept dept);
	/**
	 * 查询当前公司所有部门
	 * @param id
	 * @return
	 */
	public List<TDept> getAllDept(String id);
}
